/*
 * React-Bootstrap Documentation
 * Special styles for presenting react-bootstrap's documentation and code examples.
 * Based on the Bootstrap Documentation styles and overridden as necessary.
 */

body {
  background-color: #f9f9f9;
}

.bs-docs-nav {
  background-color: #222;
}

.bs-docs-nav .navbar-nav>li>a {
  color: #aaa;
  font-weight: normal;
}

.bs-docs-nav .navbar-nav>li>a:hover,.bs-docs-nav .navbar-nav>.active>a, .bs-docs-nav .navbar-nav>.active>a:hover {
  background: #333;
  color: #fafafa;
}

.bs-docs-nav .navbar-collapse {
  overflow: hidden;
}

@media (min-width: 768px) {

  .bs-docs-nav .navbar-nav>li>a {
    border-bottom: 3px solid #222;
  }
  .bs-docs-nav .navbar-nav>li>a:hover,.bs-docs-nav .navbar-nav>.active>a, .bs-docs-nav .navbar-nav>.active>a:hover {
    border-bottom: 3px solid #cc7a6f;
  }
}

.bs-docs-nav .navbar-brand {
  color: #00d8ff;
}

.bs-docs-masthead, .bs-docs-header {
  background: #2d2d2d;
  filter: none;
  color: #e9e9e9;
}

.bs-docs-masthead {
  margin-bottom: 20px;
}

.bs-docs-header h1 {
  color: #e9e9e9;
}

.bs-docs-header p {
  color: #e9e9e9;
}

.bs-docs-sidebar .nav>li>a {
  color: #666;
}

.bs-docs-sidebar .nav>li>a:hover, .bs-docs-sidebar .nav>li>a:focus {
  color: #cc7a6f;
  border-left: 1px solid #cc7a6f;
}

.back-to-top:hover {
  color: #cc7a6f;
}


.CodeMirror, .CodeMirror-scroll {
  height: auto;
}

.bs-example .btn-toolbar + .btn-toolbar {
  margin-top: 10px;
}

.bs-example .static-modal .modal {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
  z-index: 1;
  display: block;
}

.bs-docs-booticon {
  background: url('./logo.png') 0 0 no-repeat;
  background-size: contain;
  border: 0;
  width: 200px;
  height: 200px;
}

.bs-example-popover-contained {
  height: 200px;
}

.bs-example-popover-contained > div {
  position: relative;
}

.bs-example-popover-scroll {
  overflow: scroll;
  height: 200px;
}

.bs-example-popover-scroll > div {
  position: relative;
}

.playground {
  margin-bottom: 36px;
}

.bs-example {
  margin-bottom: 0;
}

.bs-example + .highlight {
  margin-top: 0;
  margin-bottom: 0;
  border-top: none;
  border-bottom-right-radius: 0;
}

.code-toggle {
  float: right;
  display: inline-block;
  position: relative;
  top: -1px;
  background: #fafafa;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border: 1px solid #e1e1e8;
  border-top: none;
  padding: 4px 8px;
}

@media (min-width: 768px) {
  .code-toggle {
    background: #fff;
  }
}

.code-toggle.open {
  background: #f8f5ec;
}

/* Minimal CSS Needed for contained modals */
.modal-container {
  position: relative;
}
.modal-container .modal, .modal-container .modal-backdrop {
  position: absolute;
}

.prop-table {
  background-color: white;
}

.bs-example.tooltip-static .tooltip {
  position: relative;
  display: inline-block;
  margin: 5px 10px;

}

.bs-example .super-colors {
  background: -moz-linear-gradient( top ,
      rgba(255, 0, 0, 1) 0%,
      rgba(255, 255, 0, 1) 15%,
      rgba(0, 255, 0, 1) 30%,
      rgba(0, 255, 255, 1) 50%,
      rgba(0, 0, 255, 1) 65%,
      rgba(255, 0, 255, 1) 80%,
      rgba(255, 0, 0, 1) 100%);
  background: -webkit-gradient(linear,  left top,  left bottom,
      color-stop(0%, rgba(255, 0, 0, 1)),
      color-stop(15%, rgba(255, 255, 0, 1)),
      color-stop(30%, rgba(0, 255, 0, 1)),
      color-stop(50%, rgba(0, 255, 255, 1)),
      color-stop(65%, rgba(0, 0, 255, 1)),
      color-stop(80%, rgba(255, 0, 255, 1)),
      color-stop(100%, rgba(255, 0, 0, 1)));
}

/*.bs-example .custom-menu > ul > li {
    padding: 0 20px;
}*/

.anchor,
.anchor:hover,
.anchor:active,
.anchor:focus {
  color: black;
  text-decoration: none;
  position: relative;
}
.anchor-icon {
  font-size: 90%;
  padding-top: 0.1em;
  position: absolute;
  left: -0.8em;
  opacity: 0;
}

h1:hover .anchor-icon,
h1 a:focus .anchor-icon,
h2:hover .anchor-icon,
h2 a:focus .anchor-icon,
h3:hover .anchor-icon,
h3 a:focus .anchor-icon,
h4:hover .anchor-icon,
h4 a:focus .anchor-icon {
  opacity: 0.5;
}

.prop-desc pre {
  border-radius: 0;
  border-width: 0;
  border-left-width: 3px;
}

.prop-desc-heading {
  margin-bottom: 10px;
}
